package com.youxue.teachin.set.child.my;

import com.library.uiframework.activity.WrapActionBarFragmentActivity;
import com.library.uiframework.widget.actionbar.ActionBarLayout.Action;
import com.youxue.teachin.R;

/**
 * 个人账号
 *
 * @author: zhiwei
 * @date: 2017-10-05 21:31
 * @version: 9.1.0
 */
public class SelfAccountAcitvity extends WrapActionBarFragmentActivity {
    @Override
    protected Class wrapFragmentClass() {

        return SelfAccountFragment.class;
    }

    @Override
    protected void onInitActionBar() {
        super.onInitActionBar();
        setTitle("个人账号");
        int color = getResources().getColor(R.color.set_actionbar_color);
        getActionBarLayout().setActionBarBackground(color);
        setStatusBarColor(color);
        getActionBarLayout().setTitleColorRes(R.color.cl_1);
    }

    @Override
    protected Action createBack() {
        return addLeftImageAction(ACTION_BACK, R.drawable.top_return);
    }
}
